import { createRouter ,createWebHashHistory} from 'vue-router'

import About from '@/components/About.vue'
import Home from '@/components/Home.vue'
import News from '@/components/News.vue'





const router = createRouter(
    {
        history:createWebHashHistory(),
        routes: [
            {
                path:'/home',
                component:Home
                
            },
            {
                path:'/about',
                component:About
            },
            {
                path:'/news',
                component:News
            }
        ]
    }
)

export default router